<!DOCTYPE html>
<html>
<head>
    <title>{$site_info.site_name|default=''}</title>
    <include file="public@head"/>
    <include file="student/public@head"/>
    <link href="__STATIC__/student/css/detail.css" rel="stylesheet" type="text/css">
</head>
<body>
    <include file="student/public@header"/>
    <include file="student/public@grade"/>
    <include file="student/public@login"/>

    <div class="substancestudy_top">
        <if condition="$info['type'] eq 1 || $info['type'] eq 0"> <!--图文-->
            <div style="text-align: center;font-size: 17px;">{$info['name']}</div>
        <elseif condition="$info['type'] eq 2" /><!--视频-->
            <video height="375" width="800"   id="myVideo"  controls="controls"  preload="auto">
                <source src="{$info['url']}" type="video/mp4">
            </video>
        <else/><!--音频-->
            <audio id="myAudio" controls="controls">
                <source src="{$info['url']}" type="audio/mpeg" />
            </audio>
        </if>
    </div>


    <div class="substancestudy_content">
        {$info['content']}
    </div>


    <include file="student/public@footer"/>
    <include file="student/public@scripts"/>
    <script src="__STATIC__/student/js/detail.js"></script>
</body>
</html>
